package data

import "github.com/google/wire"

var ProviderData = wire.NewSet(
	wire.NewSet(
		NewRedis,
	),
	NewData,
	wire.NewSet(
		NewUserRepo,
	),
)

type Data struct {
	redis *Redis
}

func NewData(redis *Redis) *Data {
	return &Data{
		redis: redis,
	}
}
